import pyautogui
import time

def click(x,y):
    # 移动鼠标到指定位置
    pyautogui.moveTo(x, y)
    # 点击鼠标左键
    pyautogui.click()
    # 等待3秒
    time.sleep(3)
    # 点击鼠标右键
    pyautogui.click(button='left')

if __name__ == '__main__':
    time.sleep(5)
    click(1253,266)
    click(1318,309)
    click(1248,240)
    click(1668,414)
    click(300,962)